﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class MainProcedure : IProcedure
{ 

    public MainProcedure()
    {

    }
    public void OnEnter()
    {
        UIManager_New.Instance.C_Main_UI.gameObject.SetActive(true);
        Debug.Log("okok");
        UIManager_New.Instance.currentHealth.fillAmount = UIManager_New.Instance.playerhealth / 100.0f;
        UIManager_New.Instance.currentPower.fillAmount = UIManager_New.Instance.playerpower / 100.0f;
    }

    public void OnExit()
    {
        Debug.Log("111");
    }

    public void OnUpdate()
    {

    }
}


